home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 3 / Cream of the Crop 3.iso / clipper / ks94an.zip / PULLCAP.HDR < prev    next >
Text File  |  1994-04-25  |  913b  |  37 lines

  1. /******************************************************************************
  2.                  The Klipper Library, for CA-Clipper 5.x
  3.         Copyright (c), 1994, Wallace Information Systems Engineering
  4.  
  5. FUNCTION:
  6.  
  7. _Pull_Cap( cPullString ) --> cString
  8.  
  9. PARAMETERS:
  10.  
  11. cPullString : String to extract CAPS from
  12.  
  13. SHORT:
  14.  
  15. Upper Case first letters of a string and extract them.
  16.  
  17. DESCRIPTION:
  18.  
  19. _Pull_Cap() capitalizes the first letter of each word in a string (separated
  20. by spaces) then extracts and returns only the capital letters from a string.
  21.  
  22. It ignores digits. It is useful for creating acronyms for such things as
  23. creating file names from a long string.
  24.  
  25. NOTE:
  26.  
  27.  
  28.  
  29. EXAMPLE:
  30.  
  31. Create_File = _Pull_Cap('temporary & intermdiate accounts 101 budget
  32. file')+'.DBF'
  33.  
  34. Result: Create_File = 'TIABF.DBF'
  35.  
  36. ******************************************************************************/
  37.